<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=720, user-scalable=no">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-title" content="">
<title></title>
<link href="css/style.css" rel="stylesheet" />
<link href="css/base.css" rel="stylesheet" />
<link href="css/animate.css" rel="stylesheet" />
<script src="https://libs.baidu.com/jquery/2.1.4/jquery.min.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"  type="text/javascript"></script>
<script src="http://h5.cailianxinwen.com/wxjson/js/wxapi-video.js?v=1.01"  type="text/javascript"></script>
</head>
<body>
<div class="wrap">
	<div class="conbox">
	  <!--  <img src="img/title02.png" id="title02" class="animated fadeInDown">
	    <a href="list.html" id="home_btn" class="animated fadeIn"><img src="img/btn01.png"  class="animated flash infinite"></a>
	    <img src="img/img_logo.png" id="img_logo" class="animated fadeInUp">
		-->
    </div>
</div>
</body>
<script>
	//deviceid
	function getUrlParams(key) {
		var url = window.location.search.substr(1);
		if (url == '') {
			return false;
		}
		var paramsArr = url.split('&');
		for (var i = 0; i < paramsArr.length; i++) {
			var combina = paramsArr[i].split("=");
			if (combina[0] == key) {
				return combina[1];
			}
		}
		return false;
	}
	 $('#home_btn').attr('href','list.html?deviceid='+getUrlParams('deviceid'))

	 $('body').click(function(){
		window.location.href="list.html?deviceid="+getUrlParams('deviceid')
	 })
	 $.ajax({
		type: "post",
		url: 'https://www.cailianxinwen.com/app/vote/getDeviceId?deviceId='+getUrlParams('deviceid'),
		 dataType: "json",
		 //jsonp: "jsoncallback",
		 success: function (json) {
			 console.log(json)
			 if(getUrlParams('deviceid')!=false)
			 {
				localStorage.setItem('jlrbUserInfo',JSON.stringify(json));
			 }
			
		 },
		 error: function (err) {
			 console.log(err)
		 }
	 });





</script>
</html>